<%@ page contentType="text/html;charset=utf-8" language="java"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> 
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%> 
<html:html>
<head>
		<META http-equiv=Content-Type content="text/html; charset=utf-8">
		<LINK href="../styles/sciencee.css"  type=text/css rel=stylesheet>
		<style type="text/css"></style>
		<title>CGProject</title>
		<html:base/>
</head>
<body>
	
	<table border="0" width="100%" cellspacing="1" id="table1" style="border: 1px solid #C0C0C0">
		<tr>
			<td height="25" bgcolor="#DFE6EF" colspan="2">&nbsp; <b><bean:message key="detail"/></b></td>
		</tr>
		<tr>
			<td height="25" width="12%" style="border-right: 1px dotted #C0C0C0; border-bottom: 1px dotted #C0C0C0">&nbsp; 
			<bean:message key="reguser.name"/></td>
			<td height="25" style="border-bottom: 1px dotted #C0C0C0">&nbsp;<bean:write name="RegName"/></td>
		</tr>
		<tr>
			<td height="25" width="12%" style="border-right: 1px dotted #C0C0C0; border-bottom: 1px dotted #C0C0C0">&nbsp; 
			<bean:message key="reguser.emp"/></td>
			<td height="25" style="border-bottom: 1px dotted #C0C0C0">&nbsp;<bean:write name="EmpName"/>(<bean:write name="EmpNo"/>)</td>
		</tr>
	     <tr>
			<td height="25" width="12%" style="border-right: 1px dotted #C0C0C0; border-bottom: 1px dotted #C0C0C0">&nbsp; 
			<bean:message key="reguser.role"/></td>
			<td height="25" style="border-bottom: 1px dotted #C0C0C0">
			<logic:iterate id="element" name="Roles">
				<logic:equal name="element" property="primaryRole" value="1">
					<b>&nbsp;<bean:write name="element" property="role.roleName"/></b>
				</logic:equal>
				<logic:notEqual name="element" property="primaryRole" value="1">
					&nbsp;<bean:write name="element" property="role.roleName"/>
				</logic:notEqual >

			
			</logic:iterate>
		</tr>      
		<tr>
			<td height="25" colspan="2">&nbsp;<html:link page="/index.do">[<bean:message key="back"/>]</html:link></td>
		</tr>
	</table>
</body>
</html:html>
